AmpProject\AmpWP\BackgroundTask\MonitorCssTransientCaching S

Total Complexity 43
Dependencies 7
Dependents 1
Total lines 351
Lines of code 132
Logical lines of code 60
Comment lines 164
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
handle_plugin_update()
A
50 10 29
process()
A
54 8 18
sanitize_disabled_option()
S
54 6 20
get_sampling_range()
S
74 2 4
get_threshold()
S
74 2 4
calculate_average()
S
65 2 9
disable_css_transient_caching()
S
66 2 9
persist_time_series()
S
79 1 3
get_default_sampling_range()
S
81 1 3
get_default_threshold()
S
81 1 3
__construct()
S
76 1 4
get_time_series()
S
79 1 3
register()
S
71 1 5
enable_css_transient_caching()
S
80 1 3
is_css_transient_caching_disabled()
S
79 1 3
get_event_name()
S
81 1 3
get_interval()
S
81 1 3
query_css_transient_count()
S
71 1 6